import SyRequest from "..";

//  仓库数据
export function getCategoryData() {
  return SyRequest.post({
    url: "/category/list",
  });
}
// 部门数据
export function getDepartmentData() {
  return SyRequest.post({
    url: "/department/list",
  });
}
//角色数据
export function getRoleData() {
  return SyRequest.post({
    url: "/role/list",
  });
}
// 菜单列表权限
export function getAllMenusData() {
  return SyRequest.post({
    url: "/menu/list",
  });
}

// 司机数据
export function getMenberData() {
  return SyRequest.post({
    url: "/menber/list",
  });
}


// 车辆数据
export function getCarData() {
  return SyRequest.post({
    url: "/car/list",
  });
}

